package com.dgut.coal.service;

import com.dgut.coal.entity.Supply;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SupplyService {

    //根据名字查找
    public Supply findByName(String supply_name);

    //查看供应商的简要信息
   public List<Supply> findsimplesupply(Integer supply_id, String supply_name);

   //查看供应商所有信息
   public List<Supply> findallsupply();

   //拉黑
    public int putblacklist(String supply_name, String blacklist_msg);

    //修改类别
    public int changecategory(String supply_name, String category);

    //获取供应商类别
    public String getcategory(String supply_name);

    //修改审核状态
    public int changeexamine(String supply_name);

    //驳回信息
    public  int rejectmsg(String supply_name, String reject_msg);

}
